<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="work.atpgroup.entity.WebPage,work.atpgroup.entity.User" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <title>上传资源文件</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
    <link rel="stylesheet" href="https://www.layuicdn.com/layui-v2.7.6/css/layui.css"/>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.min.js" integrity="sha384-IDwe1+LCz02ROU9k972gdyvl+AESN10+x7tBKgc9I5HFtuNz0wWnPclzo6p9vxnk" crossorigin="anonymous"></script>
    <script src="https://code.jquery.com/jquery-3.6.1.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.0.5/vue.global.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/enroll.css">
    <style>
        body{
            background-image: url("${pageContext.request.contextPath}/img/743777.jpg");
            background-size: 100% 100%;
            background-attachment: fixed;
            background-repeat: no-repeat;
        }
        .upload-form{
            display: flex;
            flex-direction: column;
            margin: 50px auto;
            border: 1px solid #27d487;
        }
        .upload-form >*{
            margin-bottom: 20px;
        }
        .submit-co{
            display: flex;
            flex-direction: row-reverse;
        }
    </style>
</head>
<body>
<jsp:include page="../share/enroll.jsp"/>
<div class="container">
    <form class="upload-form col-8" method="post" enctype="multipart/form-data" action="${pageContext.request.contextPath}/resourceUpload/static-file">
        <input type="file" name="file" id="file">
        <div class="submit-co">
            <input class="col-2" type="submit" value="上传">
        </div>
    </form>
</div>
</body>
</html>